package org.wlw.test01;

public class RichLady {
    String name;
    Animal animal;

    RichLady(String name,Animal animal) {
        this.name = name;
        this.animal = animal;
    }

    public void play() {
        System.out.println(name+"正在和"+animal.name+"玩耍!");
        animal.enjoy();
    }
}
